//
//  RegisterWindowController.h
//  HiQ
//
//  Created by arvintan on 12-7-28.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "RegisterUser.h"
#import "RegisterUserDelegate.h"
#import "SwitchHeadImageWindowController.h"




@interface RegisterWindowController : NSWindowController <RegisterUserDelegate>
{
    RegisterUser *_register;    //注册logic类
    SwitchHeadImageWindowController *_switchHeadImageWindowController;      //选择controller类

}


@property NSImage *_headImage;

@property IBOutlet NSTextField *_textName;
@property IBOutlet NSSecureTextField *_textPassword;
@property IBOutlet NSSecureTextField *_textPasswordConfirm;
@property IBOutlet NSComboBox  *_comboSex;

@property IBOutlet NSButton    *_buttonRegister;
@property IBOutlet NSButton    *_buttonCancel;
@property IBOutlet NSButton    *_buttonHeadImage;


-(IBAction)onRegister:(id)sender;
-(IBAction)onCancel:(id)sender;
-(IBAction)onHeadImage:(id)senderh;

@end
